package com.easilyj.dao;

import com.easilyj.bean.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User, Long> {

    User findByUserEmail(String userEmail);

    User findByUserName(String userName);

}
